home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / Re Extensions < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.4 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Extensions
  2. Sent:        6/26/96 10:02 AM
  3. Received:    6/26/96 10:11 AM
  4. From:        Mark Lanett, mlanett@meer.net
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Release 1 has extensions samples: ODFDraw publishes a subclass of the
  9. scripting extension, and ODFCyberStarter publishes a subclass of the main
  10. Cyberdog extension. In both these cases the part is acting as a server and
  11. some other part is acquiring the extension and calling it. Calling an
  12. extension is nothing special, since it's just a SOM object. You do have to
  13. find a server part first, which may mean something like walking the OD
  14. component hierarchy and calling HasExtension/GetExtension on each part.
  15.  
  16. In Release 2 there will be more examples: Container and Bitmap act as
  17. server and client for a new sample extension, and Bitmap also publishes the
  18. Cyberdog extension (and also calls it itself).
  19.  
  20. markl
  21.  
  22. At 9:04 AM 6/26/96, The3Furies@aol.com wrote:
  23. >Are there any examples available of writing extensions in ODF, and/or of
  24. >calling a parts extensions?  I have looked at the tech note, and at
  25. >the Text & Sound editors on DR4 for implementation examples, but
  26. >could use further help specific to ODF.  Also, I have not yet found any
  27. >examples of calling extensions.
  28.  
  29.  
  30. --
  31. Mark Lanett, OpenDoc Framework, Apple Computer
  32.  
  33.